<?php 
## include required files
/*******************************/
require_once '../model/moduleuser.php';
/*******************************/

## Create Objects
/*******************************/
$moduleObj = new Model_ModuleUser();
/*******************************/

$modules = $moduleObj->getAllMasterActiveModules();
$smarty->assign('modules', $modules);
//echo '<pre>';print_r($modules);exit;
## Assign success or error msg to smarty variable and unset session variable
if(trim($_SESSION['msg']) != '') {
	$smarty->assign('msg', $_SESSION['msg']);
	unset($_SESSION['msg']);
}

## Unset all the objects created which are on this page
unset($adminObj);

$smarty->display(TEMPLATEDIR_ADMIN. 'settings/helptext.tpl');
unset($smarty);
?>